Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Fix multi-search with template doesn't return status code (#16265) #16312

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

gaobinlong
Copy link
Collaborator

Description

Backport #16265 to 2.x.

Related Issues

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…-project#16265)

* Fix multi-search with template doesn't return status code

Signed-off-by: Gao Binlong <[email protected]>

* Modify changelog

Signed-off-by: Gao Binlong <[email protected]>

---------

Signed-off-by: Gao Binlong <[email protected]>
Copy link
Contributor

❌ Gradle check result for 4bc5a07: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@reta
Copy link
Collaborator

reta commented Oct 15, 2024

* What went wrong:
Execution failed for task ':modules:lang-mustache:spotlessJavaCheck'.
> The following files had format violations:
      src/main/java/org/opensearch/script/mustache/MultiSearchTemplateResponse.java
          @@ -32,8 +32,8 @@
           
           package·org.opensearch.script.mustache;
           
          +import·org.opensearch.ExceptionsHelper;
           import·org.opensearch.LegacyESVersion;
          -import·org.opensearch.ExceptionsHelper;
           import·org.opensearch.OpenSearchException;
           import·org.opensearch.action.search.MultiSearchResponse;
           import·org.opensearch.common.Nullable;
  Run './gradlew :modules:lang-mustache:spotlessApply' to fix these violations.

Signed-off-by: Gao Binlong <[email protected]>
Copy link
Contributor

✅ Gradle check result for 005338d: SUCCESS

Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.79%. Comparing base (5947002) to head (005338d).
Report is 11 commits behind head on 2.x.

Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #16312      +/-   ##
============================================
+ Coverage     71.74%   71.79%   +0.04%     
- Complexity    65022    65051      +29     
============================================
  Files          5302     5303       +1     
  Lines        303866   303858       -8     
  Branches      44192    44188       -4     
============================================
+ Hits         218012   218155     +143     
+ Misses        67648    67501     -147     
+ Partials      18206    18202       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dbwiddis dbwiddis merged commit 00a03dc into opensearch-project:2.x Oct 15, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants